import { PARAMS_NAME_ENUM, SPIKES_COUNT_ENUM, SPIKES_COUNT_MAP_NUMBER_ENUM} from '../../Enum';
import { SubStateMachine } from '../../common/SubStateMachine';


export class SpikesSubStateMachine extends SubStateMachine {

  run() {

    const {value} = this.fsm.params[PARAMS_NAME_ENUM.SPIKES_CURRENT_CNT]
    this.currentState = this.stateMachine[SPIKES_COUNT_MAP_NUMBER_ENUM[value as number]]

  }



}
